import org.junit.Test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Vector;

public class Demo {

    @Test
    public void test1(){
        int[] arr = {12, 34, 56};
        List list = Arrays.asList(arr);
        System.out.println(list.size());
        Integer[] arr1 = {12, 34, 56};
        List list1 = Arrays.asList(arr1);
        System.out.println(list1.size());
        ArrayList<Object> objects = new ArrayList<>();
        List<Object> objects1 = objects.subList(0, 1);
//        new Vector<>()
    }

    public static void main(String[] args) {
        long l = System.currentTimeMillis();
        System.out.println("1111111111111111111111");
        System.err.println("22222222222222");
        int i = 3/0;
    }
}
